<?php

	// TITLE: person
	// FILE: scaffolding/list/person.php
	// AUTHOR: AUTOGEN
	// CREATED: 2015/04/20 07:49:56
	// DESCRIPTION: 
	// REQUIREMENTS: 

?>
<h2>person</h2>
<hr>
<table>
	<thead>
		<tr>
			<th>id</th>
			<th>address_id</th>
			<th>title_id</th>
			<th>first_name</th>
			<th>last_name</th>
			<th>status_id</th>
			<th>gender</th>
			<th>dob</th>
		</tr>
	</thead>
	<tbody>
	<?php foreach ($fields as $field)  { ?>
		<tr onclick="goto('<?php echo $person->getId(); ?>');">
			<td><?php echo $person->getId(); ?></td>
			<td><?php echo $person->getAddressId(); ?></td>
			<td><?php echo $person->getTitleId(); ?></td>
			<td><?php echo $person->getFirstName(); ?></td>
			<td><?php echo $person->getLastName(); ?></td>
			<td><?php echo $person->getStatusId(); ?></td>
			<td><?php echo $person->getGender(); ?></td>
			<td><?php echo $person->getDob(); ?></td>
		</tr>
	<?php } ?>
	</tbody>
</table>
